package net.yambal.android.geo;

import net.yambal.android.util.StringUtil;

public class fatAddressQuery {
	
	public fatAddressQuery(String _search_key, String _name_space, String _save_extend_string, Boolean _save_to_catsh){
		search_key = StringUtil.nullStrig(_search_key, null);
		name_space = StringUtil.nullStrig(_name_space, null);
		save_extend_string = StringUtil.nullStrig(_save_extend_string, null);
		save_to_catsh = _save_to_catsh;
	}
	public fatAddressQuery(Double _search_latetude, Double _search_longitude, String _name_space, String _save_extend_string, Boolean _save_to_catsh, Boolean _keep_query_latlon){
		search_key = null;
		search_latetude = _search_latetude;
		search_longitude = _search_longitude;
		name_space = StringUtil.nullStrig(_name_space, null);
		save_extend_string = StringUtil.nullStrig(_save_extend_string, null);
		save_to_catsh = _save_to_catsh;
		keep_query_latlon = _keep_query_latlon;
	}
	
	public String search_key;
	public Double search_latetude;
	public Double search_longitude;
	public String name_space;
	public String save_extend_string;
	public Boolean save_to_catsh = true;
	public Boolean keep_query_latlon = true;
}
